package com.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * closeregistration
 * @author 
 */
public class Closeregistration implements Serializable {
    private Integer id;

    private Integer serviceid;

    private Integer closeofficeid;

    private String closefile;

    private String closefilenumber;

    private Date closetime;

    private Date closedate;

    private Date registertime;

    private Integer uid;

    private Integer closeserviceid;

    private String openfile;

    private String openfilenumber;

    private Date opentime;

    private Date openregistertime;

    private Integer openuid;

    private String descript;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getServiceid() {
        return serviceid;
    }

    public void setServiceid(Integer serviceid) {
        this.serviceid = serviceid;
    }

    public Integer getCloseofficeid() {
        return closeofficeid;
    }

    public void setCloseofficeid(Integer closeofficeid) {
        this.closeofficeid = closeofficeid;
    }

    public String getClosefile() {
        return closefile;
    }

    public void setClosefile(String closefile) {
        this.closefile = closefile;
    }

    public String getClosefilenumber() {
        return closefilenumber;
    }

    public void setClosefilenumber(String closefilenumber) {
        this.closefilenumber = closefilenumber;
    }

    public Date getClosetime() {
        return closetime;
    }

    public void setClosetime(Date closetime) {
        this.closetime = closetime;
    }

    public Date getClosedate() {
        return closedate;
    }

    public void setClosedate(Date closedate) {
        this.closedate = closedate;
    }

    public Date getRegistertime() {
        return registertime;
    }

    public void setRegistertime(Date registertime) {
        this.registertime = registertime;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getCloseserviceid() {
        return closeserviceid;
    }

    public void setCloseserviceid(Integer closeserviceid) {
        this.closeserviceid = closeserviceid;
    }

    public String getOpenfile() {
        return openfile;
    }

    public void setOpenfile(String openfile) {
        this.openfile = openfile;
    }

    public String getOpenfilenumber() {
        return openfilenumber;
    }

    public void setOpenfilenumber(String openfilenumber) {
        this.openfilenumber = openfilenumber;
    }

    public Date getOpentime() {
        return opentime;
    }

    public void setOpentime(Date opentime) {
        this.opentime = opentime;
    }

    public Date getOpenregistertime() {
        return openregistertime;
    }

    public void setOpenregistertime(Date openregistertime) {
        this.openregistertime = openregistertime;
    }

    public Integer getOpenuid() {
        return openuid;
    }

    public void setOpenuid(Integer openuid) {
        this.openuid = openuid;
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Closeregistration other = (Closeregistration) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getServiceid() == null ? other.getServiceid() == null : this.getServiceid().equals(other.getServiceid()))
            && (this.getCloseofficeid() == null ? other.getCloseofficeid() == null : this.getCloseofficeid().equals(other.getCloseofficeid()))
            && (this.getClosefile() == null ? other.getClosefile() == null : this.getClosefile().equals(other.getClosefile()))
            && (this.getClosefilenumber() == null ? other.getClosefilenumber() == null : this.getClosefilenumber().equals(other.getClosefilenumber()))
            && (this.getClosetime() == null ? other.getClosetime() == null : this.getClosetime().equals(other.getClosetime()))
            && (this.getClosedate() == null ? other.getClosedate() == null : this.getClosedate().equals(other.getClosedate()))
            && (this.getRegistertime() == null ? other.getRegistertime() == null : this.getRegistertime().equals(other.getRegistertime()))
            && (this.getUid() == null ? other.getUid() == null : this.getUid().equals(other.getUid()))
            && (this.getCloseserviceid() == null ? other.getCloseserviceid() == null : this.getCloseserviceid().equals(other.getCloseserviceid()))
            && (this.getOpenfile() == null ? other.getOpenfile() == null : this.getOpenfile().equals(other.getOpenfile()))
            && (this.getOpenfilenumber() == null ? other.getOpenfilenumber() == null : this.getOpenfilenumber().equals(other.getOpenfilenumber()))
            && (this.getOpentime() == null ? other.getOpentime() == null : this.getOpentime().equals(other.getOpentime()))
            && (this.getOpenregistertime() == null ? other.getOpenregistertime() == null : this.getOpenregistertime().equals(other.getOpenregistertime()))
            && (this.getOpenuid() == null ? other.getOpenuid() == null : this.getOpenuid().equals(other.getOpenuid()))
            && (this.getDescript() == null ? other.getDescript() == null : this.getDescript().equals(other.getDescript()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getServiceid() == null) ? 0 : getServiceid().hashCode());
        result = prime * result + ((getCloseofficeid() == null) ? 0 : getCloseofficeid().hashCode());
        result = prime * result + ((getClosefile() == null) ? 0 : getClosefile().hashCode());
        result = prime * result + ((getClosefilenumber() == null) ? 0 : getClosefilenumber().hashCode());
        result = prime * result + ((getClosetime() == null) ? 0 : getClosetime().hashCode());
        result = prime * result + ((getClosedate() == null) ? 0 : getClosedate().hashCode());
        result = prime * result + ((getRegistertime() == null) ? 0 : getRegistertime().hashCode());
        result = prime * result + ((getUid() == null) ? 0 : getUid().hashCode());
        result = prime * result + ((getCloseserviceid() == null) ? 0 : getCloseserviceid().hashCode());
        result = prime * result + ((getOpenfile() == null) ? 0 : getOpenfile().hashCode());
        result = prime * result + ((getOpenfilenumber() == null) ? 0 : getOpenfilenumber().hashCode());
        result = prime * result + ((getOpentime() == null) ? 0 : getOpentime().hashCode());
        result = prime * result + ((getOpenregistertime() == null) ? 0 : getOpenregistertime().hashCode());
        result = prime * result + ((getOpenuid() == null) ? 0 : getOpenuid().hashCode());
        result = prime * result + ((getDescript() == null) ? 0 : getDescript().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", serviceid=").append(serviceid);
        sb.append(", closeofficeid=").append(closeofficeid);
        sb.append(", closefile=").append(closefile);
        sb.append(", closefilenumber=").append(closefilenumber);
        sb.append(", closetime=").append(closetime);
        sb.append(", closedate=").append(closedate);
        sb.append(", registertime=").append(registertime);
        sb.append(", uid=").append(uid);
        sb.append(", closeserviceid=").append(closeserviceid);
        sb.append(", openfile=").append(openfile);
        sb.append(", openfilenumber=").append(openfilenumber);
        sb.append(", opentime=").append(opentime);
        sb.append(", openregistertime=").append(openregistertime);
        sb.append(", openuid=").append(openuid);
        sb.append(", descript=").append(descript);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}